<template>
  <Header />
  <Content />
</template>

<script setup lang="ts">
import Header from './components/header.vue'
import Content from './components/content.vue'
import { onMounted } from 'vue'

onMounted(() => {
  window.electron.ipcRenderer.on('current-platform', (_, platform: string) => {
    document.documentElement.classList.add(platform)
  })
})
</script>
<style lang="scss" scoped></style>
